package com.im.util;

import redis.clients.jedis.JedisCommands;

public interface ICache {

    public abstract Object get(JedisCommands redis, String s);
    
    public abstract JedisCommands getRedisClient();
    
    public abstract void put(JedisCommands redis, String key, String value);
    
    public abstract void remove(JedisCommands redis, String key);
    
    public abstract void setValue(String key, Object value);
    
    public abstract Object getValue(Object s);
    
}
